package com.dingli.service;

import com.dingli.framework.entity.Resume;
import com.dingli.framework.entity.Trainmember;
import com.dingli.framework.entity.Undertake;
import com.dingli.framework.util.Response;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ITrainmemberService {

    //查询列表
    Response<PageInfo<Trainmember>> TRselectList(String search, Integer pageNum, Integer pageSize);

    //查看详情
    Response<List<Trainmember>> TRselectAll (Long tbId);

    //审核通过
    Response<Object> TRupdateState(String tbId);

    //审核不通过
    Response<Object> TRupdate(String tbId);

    //查询所有不通过的项目信息
    Response <List<Trainmember>> TRselect(String tbId);

    //新增
    Response<Long> TRinsert(Trainmember trainmember);

    //修改
    Response<Object> TRupdateById(Trainmember trainmember);

    //删除
    Response<Object> TRdeleteById(Long tbId);
}
